package com.tpyule.tpclass.entity.bean;

/**
 * @author zzz
 * @date 2020/2/22 0022 下午 9:27
 */
public class FailResultBean<T> extends ResultBean {
    public FailResultBean(){
        this.msg="失败";
        this.code=500;
        this.isSuccess=false;
    }
    public FailResultBean(int code,String msg){
        this.result=null;
        this.msg=msg;
        this.code=code;
        this.isSuccess=false;
    }
    public FailResultBean(T result,String msg){
        this.result=result;
        this.msg=msg;
        this.code=500;
        this.isSuccess=false;
    }
    public FailResultBean(String msg){
        this.result=null;
        this.msg=msg;
        this.code=500;
        this.isSuccess=false;
    }
}
